b1a6273b1f2aa7f17eced77df3b377837d779889,core/languageDesign/smodel/source_gen/jetbrains/mps/lang/smodel/constraints/NodeAttributeQualifier_attributeConcept_ReferentConstraint.java,NodeAttributeQualifier_attributeConcept_ReferentConstraint,createSearchScopeOrListOfNodes,#IOperationContext#ReferentConstraintContext#,36

Before Change


  }

  public Object createSearchScopeOrListOfNodes(final IOperationContext operationContext, final ReferentConstraintContext _context) {
    final SNode containerConcept = SLinkOperations.getTarget(AttributeAccess_Behavior.call_getAttributeContainerType_6960953357954139822(SNodeOperations.as(_context.getEnclosingNode(), "jetbrains.mps.lang.smodel.structure.AttributeAccess")), "concept", false);
    return ListSequence.fromList(SConceptOperations.getAllSubConcepts(SConceptOperations.findConceptDeclaration("jetbrains.mps.lang.core.structure.NodeAttribute"), _context.getModel(), operationContext.getScope())).where(new IWhereFilter<SNode>() {
      public boolean accept(SNode attr) {
        return ListSequence.fromList(SLinkOperations.getTargets(attr, "conceptProperty", true)).where(new IWhereFilter<SNode>() {
          public boolean accept(SNode it) {
            return (SLinkOperations.getTarget(it, "conceptPropertyDeclaration", false) != null);
          }
        }).<SNode>select(new ISelector<SNode, SNode>() {
          public SNode select(SNode it) {
            return SLinkOperations.getTarget(it, "conceptPropertyDeclaration", false);
          }
        }).any(new IWhereFilter<SNode>() {
          public boolean accept(SNode it) {
            return SPropertyOperations.hasValue(it, "name", "role");
          }
        }) && ListSequence.fromList(SLinkOperations.getConceptLinkTargets(attr, "attributed")).any(new IWhereFilter<SNode>() {
          public boolean accept(SNode it) {
            return SConceptOperations.isSubConceptOf(containerConcept, NameUtil.nodeFQName(it));
          }
        });
      }
    });
  }

  public SNodePointer getSearchScopeValidatorNodePointer() {

After Change


  }

  public Object createSearchScopeOrListOfNodes(final IOperationContext operationContext, final ReferentConstraintContext _context) {
    return AttributeQualifier_Behavior.getApplicableRoles_959482772563105834(_context.getEnclosingNode(), "jetbrains.mps.lang.core.structure.NodeAttribute", _context.getModel(), operationContext.getScope());
  }

  public SNodePointer getSearchScopeValidatorNodePointer() {